The following error codes indicate non-fatal error conditions that might be returned by the eXtremeDB runtime while processing UDA operations:
Mnemonic Constant NameValueMeaningMCO_E_UDA500UDA
Error Code baseMCO_E_UDA_TOOMANY_ENTRIES501Allocated entry number exceededMCO_E_UDA_NAME_TOO_LONG502Long entry nameMCO_E_UDA_DUPLICATE503Duplicate entry nameMCO_E_UDA_DICT_NOTFOUND504Dictionary (entry) not found bydict_no
, name or connectionMCO_E_UDA_STRUCT_NOTFOUND505Structure not found bystruct_no
or nameMCO_E_UDA_FIELD_NOTFOUND506Field not found byfield_no
or nameMCO_E_UDA_INDEX_NOTFOUND507Index not found byindex_no
or nameMCO_E_UDA_IFIELD_NOTFOUND508Indexed field not found byifield_no
or name509Collation not found (bycollation_no
or by name)MCO_E_UDA_STRUCT_NOT_CLASS510Structure is not a class, so some operations are not allowedMCO_E_UDA_WRONG_KEY_NUM511Key number inlookup()
andcompare()
differs from index specMCO_E_UDA_WRONG_KEY_TYPE512Key types inlookup()
andcompare()
differs from index specMCO_E_UDA_WRONG_OPCODE513InvalidOPCODE
(e.g. notMCO_EQ
for hash index)MCO_E_UDA_SCALAR514Attempt to getmco_uda_length()
on scalar fieldMCO_E_UDA_NOT_DYNAMIC515Attempt to callmco_uda_field_alloc/free()
for non-vector or optional struct fieldMCO_E_UDA_WRONG_VALUE_TYPE516Type of value and field are different inmco_uda_put()
MCO_E_UDA_READONLY517MCO_E_UDA_WRONG_CLASS_CODE518Invalid class codeMCO_E_UDA_DICT_NOT_DIRECT519Inmco_uda_db_open()
, entry holds database pointer, not dictionaryMCO_E_UDA_INDEX_NOT_USERDEF520Attempt to callmco_uda_register_udf()
for non-userdef indexMCO_E_UDA_EVENT_NOTFOUND521event not found (byevent_no
)Invalid return codes522-599Values between 522 and 599 are not valid eXtremeDB return codes